import request from '@/utils/request'

export function mealList (data) {
    return request({
        url: '/do?c=411008',
        method: 'post',
        data: data
    })
}
export function voteList (data) {
    return request({
        url: '/do?c=420038',
        method: 'post',
        data: data
    })
}
export function mealOrderList (data) {
    return request({
        url: '/do?c=411010',
        method: 'post',
        data: data
    })
}
export function mealInfo (data) {
    return request({
        url: '/do?c=411009',
        method: 'post',
        data: data
    })
}

export function mealPayInfo (data) {
    return request({
        url: '/do?c=411017',
        method: 'post',
        data: data
    })
}

export function mealCancel (data) {
    return request({
        url: '/do?c=411020',
        method: 'post',
        data: data
    })
}

export function mealRefund (data) {
    return request({
        url: '/do?c=411022',
        method: 'post',
        data: data
    })
}

export function mealDiscount (data) {
    return request({
        url: '/do?c=411047',
        method: 'post',
        data
    })
}
export function couponMealList (data) {
    return request({
        url: '/do?c=630005',
        method: 'post',
        data
    })
}

export function mealSearch (data) {
    return request({
        url: '/do?c=411008',
        method: 'post',
        data
    })
}

// 根据会员id查询可转让套餐
export function findTransferMeals (data) {
    return request({
        url: '/do?c=411025',
        method: 'post',
        data
    })
}

// 套餐转让
export function transferMeals (data) {
    return request({
        url: '/do?c=411026',
        method: 'post',
        data
    })
}

// 套餐转让列表
export function transferMealsList (data) {
    return request({
        url: '/do?c=411027',
        method: 'post',
        data
    })
}
// 批量导入会员套餐
export function importPackage (data) {
    return request({
        url: '/do?c=411032',
        method: 'post',
        data
    })
}
// 获取批量导入会员套餐模板
export function importMoudle (data) {
    return request({
        url: '/do?c=411033',
        method: 'post',
        data
    })
}
// 获取套餐使用情况
export function comboSalesRecordPost (data) {
    return request({
        url: '/do?c=411035',
        method: 'post',
        data
    })
}
// 获取套餐使用情况
export function comboDetailPost (data) {
    return request({
        url: '/do?c=411036',
        method: 'post',
        data
    })
}
// 冻结 解冻 作废
export function handleComboSalesPost (data) {
    return request({
        url: '/do?c=411037',
        method: 'post',
        data
    })
}
// 全部调整
export function handleComboAllAdjust (data) {
    return request({
        url: '/do?c=411049',
        method: 'post',
        data
    })
}
// 套餐销售明细 导出
export function recordExport (data) {
    return request({
        url: '/do?c=411042',
        method: 'post',
        data
    })
}
// 套餐明细 退订详情
export function comboRefundDetail (data) {
    return request({
        url: '/do?c=411041',
        method: 'post',
        data
    })
}
// 套餐明细 退款
export function comboRefund (data) {
    return request({
        url: '/do?c=411040',
        method: 'post',
        data
    })
}
// 套餐明细 退款价格查询
export function comboRefundPrice (data) {
    return request({
        url: '/do?c=411045',
        method: 'post',
        data
    })
}
// 套餐订单 导出
export function mealOrderExport (data) {
    return request({
        url: '/do?c=411044',
        method: 'post',
        data
    })
}
// 套餐订单详情
export function mealOrderDetial (data) {
    return request({
        url: '/do?c=411041',
        method: 'post',
        data
    })
}
// 获取手续费价格
export function getServiceChargePrice (data) {
    return request({
        url: '/do?c=640001',
        method: 'post',
        data
    })
}
// 撤销使用
export function mealsCancelUse (data) {
    return request({
        url: '/do?c=411048',
        method: 'post',
        data
    })
}
// 手续费订单取消支付
export function serviceOrderCancelPay (data) {
    return request({
        url: '/do?c=640006',
        method: 'post',
        data
    })
}
// 手续费订单继续支付
export function serviceOrderContinuePay (data) {
    return request({
        url: '/do?c=640005',
        method: 'post',
        data
    })
}
// 手续费订单详情
export function serviceOrderDetail (data) {
    return request({
        url: '/do?c=640003',
        method: 'post',
        data
    })
}
// 手续费订单列表
export function serviceOrderList (data) {
    return request({
        url: '/do?c=640002',
        method: 'post',
        data
    })
}
// 手续费订单列表导出
export function serviceOrderListExport (data) {
    return request({
        url: '/do?c=640004',
        method: 'post',
        data
    })
}
// 场馆项目
export function venueProjectList (data) {
    return request({
        url: '/do?c=300005',
        method: 'post',
        data: data
    })
}
// 页面查询配置
export function mealListb (data) {
    return request({
        url: '/do?c=411054',
        method: 'post',
        data
    })
}
// 套餐详情
export function mealInfob (data) {
    return request({
        url: '/do?c=411051',
        method: 'post',
        data
    })
}
// 默认样式 图片
export function defaultImage (data) {
    return request({
        url: '/do?c=1040',
        method: 'post',
        data: data
    })
}
export function mealStatus (data) {
    return request({
        url: '/do?c=411053',
        method: 'post',
        data
    })
}
export function deleteMeal (data) {
    return request({
        url: '/do?c=411052',
        method: 'post',
        data
    })
}
// 编辑
export function editOrAddMeal (data) {
    return request({
        url: '/do?c=411050',
        method: 'post',
        data
    })
}

// // 获取场馆课程列表
export function courseListPost (data) {
    return request({
        url: '/do?c=530108',
        method: 'post',
        data
    })
}
// 获取场馆教练等级
export function teacherLevelPost (data) {
    return request({
        url: '/do?c=530062',
        method: 'post',
        data
    })
}
